<!DOCTYPE html>
<html lang="en">
<head>
<title>cef4delphi: uCEFPanel: Class TCefPanelRef</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0-snapshot">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<span id="TCefPanelRef"></span><h1 class="cio">Class TCefPanelRef</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section">Fields</div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section">Properties</div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="uCEFPanel.html">uCEFPanel</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TCefPanelRef = class(<a class="normal" href="uCEFView.TCefViewRef.html">TCefViewRef</a>, <a class="normal" href="uCEFInterfaces.ICefPanel.html">ICefPanel</a>)</code></p>
<h2 class="description">Description</h2>
<p>
 A Panel is a container in the views hierarchy that can contain other Views as children. Methods must be called on the browser process UI thread unless otherwise indicated. </p>
<p>


<p>&lt;see href=&quot;<a href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_panel_capi.h">https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_panel_capi.h</a>&quot;&gt;CEF source file: /include/capi/views/cef_panel_capi.h (cef_panel_t))</p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TInterfacedObject</li>
<li class="ancestor"><a class="normal" href="uCEFBaseRefCounted.TCefBaseRefCountedRef.html">TCefBaseRefCountedRef</a></li>
<li class="ancestor"><a class="normal" href="uCEFView.TCefViewRef.html">TCefViewRef</a></li>
<li class="thisitem">TCefPanelRef</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uCEFPanel.TCefPanelRef.html#GetAsWindow">GetAsWindow</a></strong>: <a href="uCEFInterfaces.ICefWindow.html">ICefWindow</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uCEFPanel.TCefPanelRef.html#SetToFillLayout">SetToFillLayout</a></strong>: <a href="uCEFInterfaces.ICefFillLayout.html">ICefFillLayout</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uCEFPanel.TCefPanelRef.html#SetToBoxLayout-TCefBoxLayoutSettings-">SetToBoxLayout</a></strong>(const settings: <a href="uCEFTypes.TCefBoxLayoutSettings.html">TCefBoxLayoutSettings</a>): <a href="uCEFInterfaces.ICefBoxLayout.html">ICefBoxLayout</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uCEFPanel.TCefPanelRef.html#GetLayout">GetLayout</a></strong>: <a href="uCEFInterfaces.ICefLayout.html">ICefLayout</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uCEFPanel.TCefPanelRef.html#Layout">Layout</a></strong>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uCEFPanel.TCefPanelRef.html#AddChildView-ICefView-">AddChildView</a></strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uCEFPanel.TCefPanelRef.html#AddChildViewAt-ICefView-Integer-">AddChildViewAt</a></strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; index: Integer);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uCEFPanel.TCefPanelRef.html#ReorderChildView-ICefView-Integer-">ReorderChildView</a></strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; index: Integer);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uCEFPanel.TCefPanelRef.html#RemoveChildView-ICefView-">RemoveChildView</a></strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uCEFPanel.TCefPanelRef.html#RemoveAllChildViews">RemoveAllChildViews</a></strong>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uCEFPanel.TCefPanelRef.html#GetChildViewCount">GetChildViewCount</a></strong>: <a href="uCEFTypes.html#NativeUInt">NativeUInt</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uCEFPanel.TCefPanelRef.html#GetChildViewAt-Integer-">GetChildViewAt</a></strong>(index: Integer): <a href="uCEFInterfaces.ICefView.html">ICefView</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>class function <strong><a href="uCEFPanel.TCefPanelRef.html#UnWrap-Pointer-">UnWrap</a></strong>(data: Pointer): <a href="uCEFInterfaces.ICefPanel.html">ICefPanel</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>class function <strong><a href="uCEFPanel.TCefPanelRef.html#CreatePanel-ICefPanelDelegate-">CreatePanel</a></strong>(const delegate: <a href="uCEFInterfaces.ICefPanelDelegate.html">ICefPanelDelegate</a>): <a href="uCEFInterfaces.ICefPanel.html">ICefPanel</a>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetAsWindow"></span><code>function <strong>GetAsWindow</strong>: <a href="uCEFInterfaces.ICefWindow.html">ICefWindow</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns this Panel as a Window or NULL if this is not a Window. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="SetToFillLayout"></span><code>function <strong>SetToFillLayout</strong>: <a href="uCEFInterfaces.ICefFillLayout.html">ICefFillLayout</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Set this Panel's Layout to FillLayout and return the FillLayout object. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="SetToBoxLayout-TCefBoxLayoutSettings-"></span><code>function <strong>SetToBoxLayout</strong>(const settings: <a href="uCEFTypes.TCefBoxLayoutSettings.html">TCefBoxLayoutSettings</a>): <a href="uCEFInterfaces.ICefBoxLayout.html">ICefBoxLayout</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Set this Panel's Layout to BoxLayout and return the BoxLayout object. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetLayout"></span><code>function <strong>GetLayout</strong>: <a href="uCEFInterfaces.ICefLayout.html">ICefLayout</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Get the Layout. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Layout"></span><code>procedure <strong>Layout</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Lay out the child Views (set their bounds based on sizing heuristics specific to the current Layout). </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="AddChildView-ICefView-"></span><code>procedure <strong>AddChildView</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>);</code></td>
</tr>
<tr><td colspan="2">
<p>
 Add a child View. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="AddChildViewAt-ICefView-Integer-"></span><code>procedure <strong>AddChildViewAt</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; index: Integer);</code></td>
</tr>
<tr><td colspan="2">
<p>
 Add a child View at the specified |index|. If |index| matches the result of GetChildCount() then the View will be added at the end. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="ReorderChildView-ICefView-Integer-"></span><code>procedure <strong>ReorderChildView</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; index: Integer);</code></td>
</tr>
<tr><td colspan="2">
<p>
 Move the child View to the specified |index|. A negative value for |index| will move the View to the end. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="RemoveChildView-ICefView-"></span><code>procedure <strong>RemoveChildView</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>);</code></td>
</tr>
<tr><td colspan="2">
<p>
 Remove a child View. The View can then be added to another Panel. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="RemoveAllChildViews"></span><code>procedure <strong>RemoveAllChildViews</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Remove all child Views. The removed Views will be deleted if the client holds no references to them. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetChildViewCount"></span><code>function <strong>GetChildViewCount</strong>: <a href="uCEFTypes.html#NativeUInt">NativeUInt</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns the number of child Views. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetChildViewAt-Integer-"></span><code>function <strong>GetChildViewAt</strong>(index: Integer): <a href="uCEFInterfaces.ICefView.html">ICefView</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns the child View at the specified |index|. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="UnWrap-Pointer-"></span><code>class function <strong>UnWrap</strong>(data: Pointer): <a href="uCEFInterfaces.ICefPanel.html">ICefPanel</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns a ICefPanel instance using a PCefPanel data pointer. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreatePanel-ICefPanelDelegate-"></span><code>class function <strong>CreatePanel</strong>(const delegate: <a href="uCEFInterfaces.ICefPanelDelegate.html">ICefPanelDelegate</a>): <a href="uCEFInterfaces.ICefPanel.html">ICefPanel</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Create a new Panel. </p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0-snapshot</a>. </em>
</span>
</body></html>
